//index.js
var qcloud = require('../../vendor/wafer2-client-sdk/index')
var config = require('../../config')
var util = require('../../utils/util.js')
import { demo } from '../../services/index'
Page({
    data: {
        userInfo: {},

    },
    onLoad: function() {
        demo.login({
            code: "013aMMMZ11fMq11xY5NZ1nk3NZ1aMMMU",
            nickName: '亲',
            userId: 207
        }).then(res => {

        })
    }
})